package leecode.easy;

import org.junit.Test;

/**
 * @Author: xieZW
 * @Date: 2022/1/29 15:38
 */
public class Index58 {

    @Test
    public void fun() {

        String s = "   fly me   to   the moon  ";
        char[] chars = s.toCharArray();
        s.split("");
        int a = 0;
        int b = 0;
        for (int i = chars.length - 1; i >= 0; i--) {
//            chars
        }
        //双指针法，把所有单词拼接出来后比较  题目是找到一个就可以了
//        char[] chars = s.toCharArray();
//        StringBuffer sb = new StringBuffer();
//        for (int i = chars.length - 1; i >= 0; i--) {
//            char aChar = chars[i];
//            if (StringUtils.isBlank(String.valueOf(aChar))) {
//                sb = new StringBuffer();
//            }el
//        }
    }


}
